Options

The ClosedOptions property box allows you to limit the number of times the Repeat activity can repeat.

The Repeat activity performs its contained activities as quickly as possible, so it is very resource intensive if it is left to repeat continuously. A continuously-repeating Repeat activity can quickly consume your Workflow Server's resources. We recommend either placing a Wait for Entry Change activity inside a Repeat activity (so that it pauses between repeating) or configuring the activity so that workflow itself (not a person) will satisfy the repeat activity’s condition.

Example: Bob wants his workflow to make two copies of a document. He adds a Repeat activity and places a Move Entry activity (configured to copy) inside it. Then he configures the Repeat activity so the Iteration token starts at one and configures the condition so the activity repeats twice. ClosedShow me what this looks like.

The Options property box offers an additional safeguard against runaway Repeat activities because it lets you limit the number of times the activity will repeat.

To configure Repeat Options

  1. Add the Repeat activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
  2. Select the activity in the Designer Pane.
  3. Under Options in the Properties Pane, configure the following.